package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.common.core.domain.zzw.TDepartmentManage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TDepartmentManageMapper;
import com.ruoyi.system.service.ITDepartmentManageService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author xbx
 * @date 2023-10-20
 */
@Service
public class TDepartmentManageServiceImpl implements ITDepartmentManageService 
{
    @Autowired
    private TDepartmentManageMapper tDepartmentManageMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param cDepartmentId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public TDepartmentManage selectTDepartmentManageByCDepartmentId(Long cDepartmentId)
    {
        return tDepartmentManageMapper.selectTDepartmentManageByCDepartmentId(cDepartmentId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param tDepartmentManage 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TDepartmentManage> selectTDepartmentManageList(TDepartmentManage tDepartmentManage)
    {
        return tDepartmentManageMapper.selectTDepartmentManageList(tDepartmentManage);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param tDepartmentManage 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertTDepartmentManage(TDepartmentManage tDepartmentManage)
    {
        return tDepartmentManageMapper.insertTDepartmentManage(tDepartmentManage);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param tDepartmentManage 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateTDepartmentManage(TDepartmentManage tDepartmentManage)
    {
        return tDepartmentManageMapper.updateTDepartmentManage(tDepartmentManage);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param cDepartmentIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTDepartmentManageByCDepartmentIds(Long[] cDepartmentIds)
    {
        return tDepartmentManageMapper.deleteTDepartmentManageByCDepartmentIds(cDepartmentIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param cDepartmentId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTDepartmentManageByCDepartmentId(Long cDepartmentId)
    {
        return tDepartmentManageMapper.deleteTDepartmentManageByCDepartmentId(cDepartmentId);
    }
}
